package com.kingsystem.kingfinancial_backend.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author leiyue_yao
 * @since 2025-07-11
 */
@TableName("financial_book")
@ApiModel(value = "FinancialBook对象", description = "")
public class FinancialBook implements Serializable {

    private static final long serialVersionUID = 1L;

    private String tablekKey;

    private LocalDateTime costTime;

    private BigDecimal costMoney;

    private String costReason;

    private String userId;

    @TableLogic
    private Byte delFlag;

    public String getTablekKey() {
        return tablekKey;
    }

    public void setTablekKey(String tablekKey) {
        this.tablekKey = tablekKey;
    }

    public LocalDateTime getCostTime() {
        return costTime;
    }

    public void setCostTime(LocalDateTime costTime) {
        this.costTime = costTime;
    }

    public BigDecimal getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(BigDecimal costMoney) {
        this.costMoney = costMoney;
    }

    public String getCostReason() {
        return costReason;
    }

    public void setCostReason(String costReason) {
        this.costReason = costReason;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "FinancialBook{" +
            "tablekKey = " + tablekKey +
            ", costTime = " + costTime +
            ", costMoney = " + costMoney +
            ", costReason = " + costReason +
            ", userId = " + userId +
            ", delFlag = " + delFlag +
            "}";
    }
}
